package com.qidian.k12.vo;

import java.util.Date;

/**
 * @author 戴着假发的程序
 */
public class QueryVo {
    private int page = 1;
    private int row = 10;
    private Date timeStart;
    private Date timeEnd;
    private int start=0;
    private void cstart(){
        start = (page-1) * row;
    }

    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
        cstart();
    }

    public int getRow() {
        return row;
    }

    public void setRow(int row) {
        this.row = row;
        cstart();
    }

    public Date getTimeStart() {
        return timeStart;
    }

    public void setTimeStart(Date timeStart) {
        this.timeStart = timeStart;
    }

    public Date getTimeEnd() {
        return timeEnd;
    }

    public void setTimeEnd(Date timeEnd) {
        this.timeEnd = timeEnd;
    }

    public int getStart() {
        return start;
    }

    public void setStart(int start) {
        this.start = start;
    }
}
